import { useDebounce } from './hooks.js'
import { useEffect } from 'react';

function App() {
  // const [instance] = useWindowScroll();
  // useEffect(() => {
  //   console.log(instance);
  // }, [instance])


  const handle = () => {
    console.log('hello');
  }

  return (
    <div style={{ height: '200vh' }} onClick={useDebounce(handle)}>hello</div>
  )
}

export default App;